package com.superbytecode.common.dict;

import lombok.Data;

/**
 * All rights Reserved, Designed By www.super-bytecode.com
 *
 * @ProjectName: superbytecode-beacon
 * @Package: com.superbytecode.common.model
 * @ClassName: DictionaryBean
 * @Description: [字典bean]
 * <p> 只有code和desc，可用于展示下拉框 </p>
 * @Author: [Lance Ting]
 * @Date: 2023/11/20 15:44
 * @Version: V1.0
 * @Copyright: 2023 www.super-bytecode.com Inc. All rights reserved.
 * TODO: 注意,本文件Lance Ting所作,如果转载或使用请标明具体出处!
 **/
@Data
public class DictionaryBean<T> implements IDictionary<T> {
    /**
     * 字典编码
     */
    private final T code;
    /**
     * 字典描述
     */
    private final String desc;
}